package service.impl;

import org.springframework.stereotype.Service;
import dao.ItemsDao;
import org.springframework.beans.factory.annotation.Autowired;
import pojo.Items;
import service.ItemsService;

import java.util.List;

@Service
public class ItemsServiceImpl implements ItemsService {

    @Autowired
    private ItemsDao itemsDao;

    @Override
    public List<Items> findAll() {

        return itemsDao.findAll();

    }
}
